#include <QApplication>
#include <QDebug>

#include "MainWindow.h"

int main(int argc, char* argv[]) {
#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
  QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
  QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
#endif
#if (QT_VERSION >= QT_VERSION_CHECK(5, 14, 0))
  QApplication::setHighDpiScaleFactorRoundingPolicy(
      Qt::HighDpiScaleFactorRoundingPolicy::PassThrough);
#endif
  
  

  QApplication app(argc, argv);
  qRegisterMetaType<QVector<int>>("QVector<int>");

  app.setOrganizationName("GoBot");
  app.setOrganizationDomain("www.gobot.cn");
  app.setApplicationName("GoBot");

  MainWindow w;
  w.show();

  return app.exec();
}